Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Add assessment tool categorization workflow #574

Merged
merged 47 commits into from
Oct 24, 2023
Merged

[ENH] Add assessment tool categorization workflow #574

merged 47 commits into from
Oct 24, 2023

Conversation

surchs
Copy link
Contributor

@surchs surchs commented Oct 17, 2023

Closes #566
Closes #567

Changes proposed in this pull request:

  • new component components/category-toolgroup.vue that handles assessment tool groups
  • dropdown element to select from CognitiveAtlas terms to create a new assessment tool
  • table that contains all created assessment tools that can be clicked to select a given tool (unselect not possible)
  • table that contains all columns that have been assigned as "about" assessment tool. Clicking a column with an assessment tool selected maps this column to the tool
  • logic to prevent the next page to be accessible unless all assessment-columns have been mapped to something
  • elements in the new component are not visible on the DOM until at least one column is mapped to assessment tool
  • corresponding store state, mutations and getters
  • bunch of tests

Checklist

  • PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see https://neurobagel.org/contributing/pull_requests for more info)
  • PR links to GitHub issue with mention Closes #XXXX
  • Tests pass
  • Checks pass

For new features:

  • Tests have been added

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

@netlify
Copy link

netlify bot commented Oct 17, 2023

Deploy Preview for neurobagel-annotator ready!

Name Link
🔨 Latest commit 3783ed2
🔍 Latest deploy log https://app.netlify.com/sites/neurobagel-annotator/deploys/65380fed5649ac00085d6f0d
😎 Deploy Preview https://deploy-preview-574--neurobagel-annotator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@surchs surchs marked this pull request as ready for review October 18, 2023 00:39
@rmanaem rmanaem self-requested a review October 20, 2023 19:14
Copy link
Contributor

@rmanaem rmanaem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @surchs!
🍒 I left a few comments for changes and considerations.
Regarding the new e2e test, what are your thoughts on treating it as the app e2e test to replace the simple-e2etest? Or integrating the new e2e test into existing ones to test the new functionalities added. On its own it seems out of place.

store/index.js Outdated Show resolved Hide resolved
store/index.js Outdated Show resolved Hide resolved
cypress/unit/store-mutation-createToolGroup.cy.js Outdated Show resolved Hide resolved
cypress/unit/store-mutation-createToolGroup.cy.js Outdated Show resolved Hide resolved
store/index.js Outdated Show resolved Hide resolved
cypress/component/category-toolgroup.cy.js Outdated Show resolved Hide resolved
cypress/component/category-toolgroup.cy.js Show resolved Hide resolved
Copy link
Contributor

@rmanaem rmanaem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good and ready to merge once the component tests pass 🧑‍🍳

@surchs surchs merged commit c5990af into master Oct 24, 2023
7 checks passed
@surchs surchs deleted the feat-566 branch October 24, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants